<%--
  Created by IntelliJ IDEA.
  User: 75597
  Date: 2020/10/28
  Time: 19:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="updateBook" method="post">
    <input type="hidden" name="_method" value="put">
    <table>
        <tr>
            <td></td>
            <td>名称</td>
            <td>价格</td>
            <td>作者</td>
            <td>销量</td>
            <td>库存</td>
        </tr>
        <tr>
            <td><input name="id" value="${book.id}" type="hidden"></td>
            <td><input name="name" value="${book.name}" type="text"/></td>
            <td><input name="price" value="${book.price}" type="text"/></td>
            <td><input name="author" value="${book.author}" type="text"/></td>
            <td><input name="sales" value="${book.sales}" type="text"/></td>
            <td><input name="stock" value="${book.stock}" type="text"/></td>
            <td><input type="submit" value="提交"/></td>
        </tr>
    </table>
</form>
</body>
</html>
